package com.ftg.learn.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author huye
 * @since 2022-03-11
 */
@TableName("resistance")
@ApiModel(value = "Resistance对象", description = "")
public class Resistance implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("水阻值")
    private String resistanceValue;
  @TableId(value = "resistance_id")
    @ApiModelProperty("id")
    private Integer resistanceId;

    @ApiModelProperty("上限值")
    private String resistanceUpper;

    @ApiModelProperty("下限值")
    private String resistanceLower;

    @ApiModelProperty("创建时间")
    private LocalDateTime resistanceTime;

    public String getResistanceValue() {
        return resistanceValue;
    }

    public void setResistanceValue(String resistanceValue) {
        this.resistanceValue = resistanceValue;
    }
    public Integer getResistanceId() {
        return resistanceId;
    }

    public void setResistanceId(Integer resistanceId) {
        this.resistanceId = resistanceId;
    }
    public String getResistanceUpper() {
        return resistanceUpper;
    }

    public void setResistanceUpper(String resistanceUpper) {
        this.resistanceUpper = resistanceUpper;
    }
    public String getResistanceLower() {
        return resistanceLower;
    }

    public void setResistanceLower(String resistanceLower) {
        this.resistanceLower = resistanceLower;
    }
    public LocalDateTime getResistanceTime() {
        return resistanceTime;
    }

    public void setResistanceTime(LocalDateTime resistanceTime) {
        this.resistanceTime = resistanceTime;
    }

    @Override
    public String toString() {
        return "Resistance{" +
            "resistanceValue=" + resistanceValue +
            ", resistanceId=" + resistanceId +
            ", resistanceUpper=" + resistanceUpper +
            ", resistanceLower=" + resistanceLower +
            ", resistanceTime=" + resistanceTime +
        "}";
    }
}
